import request from '@/config/axios'

export const sessionSlaveManageList = async () => {
  return await request.get({
    url: '/sessionSlaveManage/getPage'
  })
}

export const sessionSlaveManageSignUp = async (data) => {
  return await request.put({
    url: '/sessionManage/signUp',
    data
  })
}

export const getDetailById = async (params) => {
  return await request.get({
    url: '/bidAnnouncement/getById',
    params
  })
}

export const getCustomList = async () => {
  return await request.get({
    url: '/customer/getList'
  })
}

export const getHallManage = async () => {
  return await request.get({
    url: '/sessionManage/getHallManage'
  })
}

export const getAvailableFunds = async () => {
  return await request.get({
    url: '/financeAccount/getByUserIdV2'
  })
}
